import {tableOptBtnConfig} from "../table";

export default {
  "tableId": "genCommCommand",
  "name": "通用命令应用协议",
  "columns": [
    {
      label: '协议名称',
      width: 150,
      children: [
        {
          key: 'protocolName',
          tooltip: true,
        },
      ]
    },
    {
      label: '应用设备',
      width: 150,
      children: [
        {
          key: 'deviceText',
          html: true,
          tooltip: true
        }
      ],
    },
    {
      label: '更新时间',
      width: 100,
      children: [
        {
          updatedDate: true
        }
      ],
    },
    {
      "label": "操作",
      "operation": true,
      "width": 200,
      "children": [
        {
          "button": true,
          type: tableOptBtnConfig.command.type,
        },
        {
          "button": true,
          type: tableOptBtnConfig.delete.type,
          class: 'hover-danger',
        }
      ]
    }
  ],
  "filters": []
}
